package main

import (
	"fmt"
	"encoding/json"
)


func unmarshalSlice() {

	str := "[{\"Age\": 500, \"Name\": \"Jack\"}, {\"Age\": 500, \"Name\": \"Jack\"}]"
	var slice []map[string]interface{}
	err := json.Unmarshal([]byte(str), &slice)
	if err != nil {
		fmt.Println("err:", err)
		return
	}
	fmt.Println(slice)

}

func main() {

	unmarshalSlice()

}